/*
 * @author java_deng
 * @date 2025/4/5 15:49
 * @description
 */
package org.hbwl.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

@Data
public class Comment {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private Integer animalId;
    private Integer postId;
    private String content;
    private Integer parentId;
    private Integer level;
    private Integer responseUserId;

    @TableField(exist = false)
    private String profilePath;
    @TableField(exist = false)
    private String username;
    @TableField(exist = false)
    private List<Comment> commentList;
    @TableField(exist = false)
    private String responseUsername;
}
